@@ -28,8 +28,7 @@ after_fork do |server, worker| |
||
28 | 28 |
|
29 | 29 |
# If you are using Redis but not Resque, change this |
30 | 30 |
if defined?(Resque) |
31 |
- uri = URI.parse(ENV["REDISTOGO_URL"]) |
|
32 |
- Resque.redis = uri |
|
31 |
+ Resque.redis = REDIS |
|
33 | 32 |
Rails.logger.info('Connected to Redis') |
34 | 33 |
end |
35 | 34 |
end |